import {
	defineStore
} from 'pinia'
import {
	store
} from '@/stores/index.js'

/**
 * 活动发布相关
 */
export const usePublishStore = defineStore('publish', {
	state: () => {
		return {
			goodsList: [], // 要发布的活动商品
			tempGoodsList: [], // 临时编辑商品列表
			merchantIds: [], // 临时商户id
		}
	},
	getters: {
		
	},
	actions: {
		reset() {
			this.goodsList = []
			this.tempGoodsList = []
			this.merchantIds = []
		}
	}
})
